﻿using System.ComponentModel.DataAnnotations;
using LoadIn.Maps.Bing.Services;
using Orchard.ContentManagement.Records;
using Orchard.Environment.Extensions;

namespace LoadIn.Maps.Bing.Models
{
    [OrchardFeature("LoadIn.Maps.Bing")]
    public class BingMapsPartRecord : ContentPartRecord
    {
        [StringLength(20)]
        public virtual string Latitude { get; set; }

        [StringLength(20)]
        public virtual string Longitude { get; set; }

        public virtual int Width { get; set; }

        public virtual int Height { get; set; }

        public virtual int Zoom { get; set; }

        [StringLength(20)]
        public virtual string Mode { get; set; }

        [StringLength(2)]
        public virtual string PinIcon { get; set; }

        [StringLength(3)]
        public virtual string PinText { get; set; }
    }
}